home *** CD-ROM | disk | FTP | other *** search
/ Champak 132 (Alt) / Vol 132.iso / games / hewitt.swf / scripts / DefineButton2_1324 / BUTTONCONDACTION on(press).as
Encoding:
Text File  |  2011-06-09  |  964 b   |  35 lines

  1. on(press){
  2.    if(_root.inven._currentframe == 1)
  3.    {
  4.       if(_root.taken29 == 1)
  5.       {
  6.          if(_root.micon._currentframe == 1 && _root.range == true)
  7.          {
  8.             _root.next_dis1 = 2;
  9.             _root.next_txt1 = "I don\'t need that junk.";
  10.          }
  11.          if(_root.micon._currentframe == 2)
  12.          {
  13.             _root.next_dis1 = 2;
  14.             _root.next_txt1 = "Anastasia\'s sooty remains.";
  15.          }
  16.       }
  17.       else
  18.       {
  19.          if(_root.micon._currentframe == 1 && _root.range == true)
  20.          {
  21.             _root.taken29 = 1;
  22.             _root.take = 29;
  23.             _root.sfx.gotoAndStop(3);
  24.             _root.next_dis1 = 2;
  25.             _root.next_txt1 = "Let\'s see what this thing does.";
  26.          }
  27.          if(_root.micon._currentframe == 2)
  28.          {
  29.             _root.next_dis1 = 2;
  30.             _root.next_txt1 = "Looks like a little vial of something.";
  31.          }
  32.       }
  33.    }
  34. }
  35.